<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">结算方式:</label>
        <input id="id" class="form-control" name="id" type="hidden" value="{$row.id}">
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="row[clearing_form]-1">
                    <input id="row[clearing_form]-1" name="row[clearing_form]" type="radio" value="1" {if
                        $row.clearing_form==1}checked{/if} /> 秒结算
                </label>
                <label for="row[clearing_form]-2">
                    <input id="row[clearing_form]-2" name="row[clearing_form]" type="radio" value="2" {if
                        $row.clearing_form==2}checked{/if} /> 月结算
                </label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否开启提现:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="row[is_open]-1">
                    <input id="row[is_open]-1" name="row[is_open]" type="radio" value="1" {if
                        $row.is_open==1}checked{/if} /> 开启
                </label>
                <label for="row[is_open]-2">
                    <input id="row[is_open]-2" name="row[is_open]" type="radio" value="2" {if
                        $row.is_open==2}checked{/if} /> 关闭
                </label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">审核方式:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="row[check_type]-1">
                    <input id="row[check_type]-1" name="row[check_type]" type="radio" value="1" {if
                        $row.check_type==1}checked{/if} /> 手动
                </label>
                <label for="row[check_type]-2">
                    <input id="row[check_type]-2" name="row[check_type]" type="radio" value="2" {if
                        $row.check_type==2}checked{/if} /> 自动
                </label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">提现开始时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdrawal_start_time" class="form-control datetimepicker" data-date-format="HH:mm"
                data-use-current="true" name="row[withdrawal_start_time]" type="text"
                value="{$row.withdrawal_start_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">提现结束时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdrawal_end_time" class="form-control datetimepicker" data-date-format="HH:mm"
                data-use-current="true" name="row[withdrawal_end_time]" type="text" value="{$row.withdrawal_end_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">提现最小金额:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdrawal_min_money" class="form-control" step="0.01" name="row[withdrawal_min_money]"
                type="number" value="{$row.withdrawal_min_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">提现最大金额:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdrawal_max_money" class="form-control" step="0.01" name="row[withdrawal_max_money]"
                type="number" value="{$row.withdrawal_max_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手续费:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_charge" class="form-control" step="0.01" name="row[service_charge]" type="number"
                value="{$row.service_charge|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">服务费(%):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tax_rate" class="form-control" name="row[tax_rate]" type="number"
                value="{$row.tax_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">单日提现次数:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdrawal_number" class="form-control" name="row[withdrawal_number]" type="number"
                value="{$row.withdrawal_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">备注:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" class="form-control " rows="5" name="row[remarks]"
                cols="50">{$row.remarks|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">保存</button>
        </div>
    </div>
</form>